<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录失败</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f0f2f5;
            color: #333;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
        }
        .container {
            text-align: center;
            background-color: white;
            border-radius: 8px;
            padding: 30px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            max-width: 400px;
            width: 100%;
        }
        h1 {
            font-size: 1.8em;
            margin-bottom: 20px;
            color: #007bff; /* 标题颜色为蓝色 */
        }
        p {
            font-size: 1em;
            margin-bottom: 30px;
            color: #007bff; /* 错误信息颜色为蓝色 */
            font-weight: bold;
            background-color: #e7f3ff;
            border: 1px solid #b3daff;
            padding: 10px;
            border-radius: 5px;
        }
        .back-link {
            display: inline-block;
            padding: 10px 20px;
            color: white;
            background-color: #007bff;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
            transition: background-color 0.3s;
        }
        .back-link:hover {
            background-color: #0056b3;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>登录失败</h1>
        <p>登录失败，用户名或密码错误</p>
        <a href="{{ url_for('login') }}" class="back-link">返回登录页面</a>
    </div>
</body>
</html>
